package enit

type AddKill struct {
	Id           int64   `json:"id" form:"id" binding:"required"`
	GoodsNum     int     `json:"goods_num" form:"goods_num" binding:"required"`
	CurrentPrice float64 `json:"current_price" form:"current_price" binding:"required"`
	StartTime    string  `json:"start_time" form:"start_time" binding:"required"`
	EndTime      string  `json:"end_time" form:"end_time" binding:"required"`
}

type KillSearch struct {
	GoodsName string `json:"goods_name" form:"goods_name" `
}

type Login struct {
	Username string `json:"username" form:"username" binding:"required"`
	Password string `json:"password" form:"password" binding:"required"`
}
type Register struct {
	Username string `json:"username" form:"username" binding:"required"`
	Password string `json:"password" form:"password" binding:"required"`
}

type RealName struct {
	Name   string `json:"name" form:"name" binding:"required"`
	IdCard string `json:"idCard" form:"idCard" binding:"required"`
}

type CreateOrder struct {
	GoodsId int64 `json:"goodsId" form:"goodsId" binding:"required"`
	Num     int64 `json:"num" form:"num" binding:"required"`
}
